﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo02
{
    class Program
    {

        public enum game
        {
            战士,法师,精灵
        }
        static void Main(string[] args)
        {
            Console.WriteLine("请输入你要查找的职业的值：");
            int gs = int.Parse(Console.ReadLine());
            Console.WriteLine();
            Sr((game)gs);
            Console.ReadKey();
        }
        public static int Sr(game gs)
        {
            switch (gs)
            {
                case (game)0:
                    Console.WriteLine("战士的技能：碎石打击、烈焰锚钩、战斗咆哮");
                    break;
                case (game)1:
                    Console.WriteLine("法师的技能：巨浪冲击、元素突击、复仇杀戮");
                    break;
                case (game)2:
                    Console.WriteLine("精灵的技能：减速陷阱、能量浪潮、旋风剑舞");
                    break;
                default:
                    break;
            }return (int)gs;
        }
    }
}
